import request from '../utils/request'

export function getServicePageList(params) {
    return request({
      url: '/service/list',
      method: 'get',
      params: {
        ...params
      }
    })
}

export function saveService(data) {
    return request({
      url: '/service/save',
      method: 'post',
      data:data
    })
}


export function deleteServiceById(id) {
  return request({
    url: '/service/delete/'+id,
    method: 'delete',
  })
}


